package Exercises;

public class Main {
    public static void main(String[] args) {
//        int arr[] = {5,3,4,1,2,0};
//        Sort sort = new Sort();
//        sort.Insert_sort(arr);
//        System.out.println("");
        Student student = new SportStudent("jxc",666);

//        SportStudent sportStudent = new SportStudent();
//        sportStudent.study();

        // instanceof关键字,用来比较对象是否属于同一个类
//        if (student instanceof SportStudent){
//            student.study();
//        }else if (student instanceof ArtStudent){
//            student.study();
//        }

//        student.SetStatus(Status.Sleep);
//        System.out.println("学生："+student.getName()+" 当前状态："+student.getStatus());

        int a = 1898;
        int b = 1898;
        System.out.println(a == b);

        Integer a1 = 1989;
        Integer a2 = 1989;
        System.out.println(a1 == a2);

    }
    public void sayHello(){
        System.out.println("111");
    }
}
